Optimal. Leaf size=137 \[ \frac{2 i \sqrt{c+d x} \sqrt{e h-f g} \sqrt{\frac{f (g+h x)}{f g-e h}} E\left (\sin ^{-1}\left (\frac{\sqrt{h} \sqrt{e+f x}}{\sqrt{e h-f g}}\right )|-\frac{d (f g-e h)}{(d e-c f) h}\right )}{f \sqrt{h} \sqrt{g+h x} \sqrt{-\frac{f (c+d x)}{d e-c f}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0612999, antiderivative size = 137, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {21, 114, 113} \[ \frac{2 i \sqrt{c+d x} \sqrt{e h-f g} \sqrt{\frac{f (g+h x)}{f g-e h}} E\left (\sin ^{-1}\left (\frac{\sqrt{h} \sqrt{e+f x}}{\sqrt{e h-f g}}\right )|-\frac{d (f g-e h)}{(d e-c f) h}\right )}{f \sqrt{h} \sqrt{g+h x} \sqrt{-\frac{f (c+d x)}{d e-c f}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 114
Rule 113
Rubi steps
\begin{align*} \int \frac{68 c+68 d x}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx &=68 \int \frac{\sqrt{c+d x}}{\sqrt{e+f x} \sqrt{g+h x}} \, dx\\ &=\frac{\left (68 \sqrt{c+d x} \sqrt{\frac{f (g+h x)}{f g-e h}}\right ) \int \frac{\sqrt{\frac{c f}{-d e+c f}+\frac{d f x}{-d e+c f}}}{\sqrt{e+f x} \sqrt{\frac{f g}{f g-e h}+\frac{f h x}{f g-e h}}} \, dx}{\sqrt{\frac{f (c+d x)}{-d e+c f}} \sqrt{g+h x}}\\ &=\frac{136 \sqrt{-f g+e h} \sqrt{c+d x} \sqrt{\frac{f (g+h x)}{f g-e h}} E\left (\sin ^{-1}\left (\frac{\sqrt{h} \sqrt{e+f x}}{\sqrt{-f g+e h}}\right )|-\frac{d (f g-e h)}{(d e-c f) h}\right )}{f \sqrt{h} \sqrt{-\frac{f (c+d x)}{d e-c f}} \sqrt{g+h x}}\\ \end{align*}
Mathematica [C] time = 0.586411, size = 180, normalized size = 1.31 \[ -\frac{2 i i \sqrt{c+d x} \sqrt{g+h x} \left (E\left (i \sinh ^{-1}\left (\sqrt{\frac{f (c+d x)}{d e-c f}}\right )|\frac{d e h-c f h}{d f g-c f h}\right )-\text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt{\frac{f (c+d x)}{d e-c f}}\right ),\frac{d e h-c f h}{d f g-c f h}\right )\right )}{h \sqrt{e+f x} \sqrt{\frac{f (c+d x)}{d (e+f x)}} \sqrt{\frac{d (g+h x)}{d g-c h}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.022, size = 552, normalized size = 4. \begin{align*} 2\,{\frac{i\sqrt{dx+c}\sqrt{fx+e}\sqrt{hx+g}}{dfh \left ( dfh{x}^{3}+cfh{x}^{2}+deh{x}^{2}+dfg{x}^{2}+cehx+cfgx+degx+ceg \right ) } \left ({\it EllipticF} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){c}^{2}fh-{\it EllipticF} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdeh-{\it EllipticF} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdfg+{\it EllipticF} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){d}^{2}eg-{\it EllipticE} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){c}^{2}fh+{\it EllipticE} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdeh+{\it EllipticE} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdfg-{\it EllipticE} \left ( \sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){d}^{2}eg \right ) \sqrt{-{\frac{ \left ( fx+e \right ) d}{cf-de}}}\sqrt{-{\frac{ \left ( hx+g \right ) d}{ch-dg}}}\sqrt{{\frac{ \left ( dx+c \right ) f}{cf-de}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d i x + c i}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g} i}{f h x^{2} + e g +{\left (f g + e h\right )} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} i \int \frac{\sqrt{c + d x}}{\sqrt{e + f x} \sqrt{g + h x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d i x + c i}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]